﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>登录</title>
    <style type="text/css">
         body{
             width:100%;
             background-color:rgba(0, 255, 183, 0.18);
        }
        .wellcome{
            width:100%;
            height:80px;
            font-style:italic;
            text-align:center;
            margin:0px auto;
            border:2px solid transparent;
        }
        .login{
            width:250px;
            height:200px;
            margin:auto;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div class="wellcome">
            <h1>欢迎来到学生选课系统</h1>
        </div>
        <div class="login">
        <asp:Login ID="Login1" runat="server" DestinationPageUrl="Main.aspx" OnAuthenticate="Login1_Authenticate" UserNameLabelText="账号:" BackColor="#EFF3FB" BorderColor="#B5C7DE" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" FailureText="账号或密码错误,请重新输入!!" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#333333" Height="156px" Width="259px">
            <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
            <LoginButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
            <TextBoxStyle Font-Size="0.8em" />
            <TitleTextStyle BackColor="#507CD1" Font-Bold="True" Font-Size="0.9em" ForeColor="White" />
        </asp:Login>
        </div>
    </form>
</body>
</html>
